home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Essentials / Technical.Notes / IIGS / TN.IIGS.063 < prev    next >
Encoding:
Text File  |  1991-06-28  |  5.3 KB  |  120 lines  |  [TEXT/pdos]

  1. Apple II
  2. Technical Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6.  
  7. Apple IIgs
  8. #63:         Master Color Values
  9.  
  10. Revised by:  Dave Lyons                                              May 1991
  11. Written by:  Jim Luther                                             July 1989
  12.  
  13. This Technical Note documents master color values used for the Apple IIgs 
  14. text, text background, and border colors.
  15.  
  16. Changes since July 1989:  Added information on the standard QuickDraw II 
  17. 640-mode color table and provided a 320-mode color table that produces 
  18. similar colors.
  19. _____________________________________________________________________________
  20.  
  21.  
  22. Border Color Values
  23.  
  24. There are times when you may want to make parts of the IIgs Super Hi-Res 
  25. screen the same color as the text, text background, and border colors.  This 
  26. is particularly useful when using the Apple II Video Overlay Card.  Table 1 
  27. lists each color using the names from the Control Panel CDA, the color 
  28. register values used for that color by the color registers, and the master 
  29. color value used for that color by the Super Hi-Res screen.
  30.  
  31.                   Color    Color Register    Master Color
  32.                   Name         Value            Value
  33.                   ---------------------------------------
  34.                   Black         $0              $0000
  35.                   Deep Red      $1              $0D03
  36.                   Dark Blue     $2              $0009
  37.                   Purple        $3              $0D2D
  38.                   Dark Green    $4              $0072
  39.                   Dark Gray     $5              $0555
  40.                   Medium Blue   $6              $022F
  41.                   Light Blue    $7              $06AF
  42.                   Brown         $8              $0850
  43.                   Orange        $9              $0F60
  44.                   Light Gray    $A              $0AAA
  45.                   Pink          $B              $0F98
  46.                   Light Green   $C              $01D0
  47.                   Yellow        $D              $0FF0
  48.                   Aquamarine    $E              $04F9
  49.                   White         $F              $0FFF
  50.                   ---------------------------------------
  51.  
  52.                        Table 1-Master Color Values
  53.  
  54. The Apple IIgs Hardware Reference documents the color registers at $C022 and 
  55. $C034, and the Apple IIgs Toolbox Reference, Volume 2 documents the master 
  56. color values.
  57.  
  58.  
  59. Standard 640-mode Color Table
  60.  
  61. The description of dithering on pages 16-35 and 16-36 of Apple IIgs Toolbox 
  62. Reference, Volume 2 is correct, but some of the color values in Table 16-5 
  63. are incorrect.  Table 2 lists the standard QuickDraw II 640-mode color table:
  64.  
  65.                   Color Table    Color      Master Color
  66.                     Offset       Name          Value 
  67.                   ---------------------------------------
  68.                       $0         Black         $0000
  69.                       $1         Red           $0F00
  70.                       $2         Green         $00F0
  71.                       $3         White         $0FFF
  72.                       $4         Black         $0000
  73.                       $5         Blue          $000F
  74.                       $6         Yellow-green  $0FF0
  75.                       $7         White         $0FFF
  76.                       $8         Black         $0000
  77.                       $9         Red           $0F00
  78.                       $A         Green         $00F0
  79.                       $B         White         $0FFF
  80.                       $C         Black         $0000
  81.                       $D         Blue          $000F
  82.                       $E         Yellow-green  $0FF0
  83.                       $F         White         $0FFF
  84.                   ---------------------------------------
  85.                      
  86.                    Table 2-Standard 640-mode Color Table
  87.  
  88. Table 3 shows Master Color values you can use in 320-mode to get close 
  89. approximations of the sixteen standard 640-mode "solid" (really dithered) 
  90. 640-mode colors.
  91.  
  92.                    Color Table  Color        Master Color
  93.                      Offset     Name            Value 
  94.                    -------------------------------------
  95.                        $0       Black           $0000
  96.                        $1       Deep Blue       $0008  
  97.                        $2       Yellow-brown    $0880
  98.                        $3       Gray            $0888
  99.                        $4       Red             $0800 
  100.                        $5       Purple          $0808 
  101.                        $6       Orange          $0F80 
  102.                        $7       Pink            $0F88 
  103.                        $8       Dark Green      $0080
  104.                        $9       Aqua            $0088
  105.                        $A       Bright Green    $08F0
  106.                        $B       Pale Green      $08F8
  107.                        $C       Gray            $0888 
  108.                        $D       Periwinkle Blue $088F
  109.                        $E       Yellow          $0FF8
  110.                        $F       White           $0FFF
  111.                    -------------------------------------
  112.             
  113.                    Table 3-Standard 640-mode Color Table
  114.  
  115. Further Reference
  116. _____________________________________________________________________________
  117.   o   Apple IIgs Hardware Reference, pp. 58, 76-78
  118.   o   Apple IIgs Toolbox Reference, Volume 2, p. 16-31
  119.  
  120.